package com.wish233.wiliwilivideo.service;

import com.wish233.wiliwilivideo.domain.dto.likes.LikeCreateRequest;
import com.wish233.wiliwilivideo.domain.dto.likes.LikeQueryRequest;
import com.wish233.wiliwilivideo.domain.po.Likes;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author WHH
* @description 针对表【likes(点赞记录表)】的数据库操作Service
* @createDate 2025-03-18 14:14:24
*/
public interface LikesService extends IService<Likes> {

    Long recordLike(LikeCreateRequest likeCreateRequest);

    Long queryLikeNum(LikeQueryRequest likeQueryRequest);

    boolean isUserLiked(String userId, Integer bizId, Long messageId);
}
